//
//  VRMessageViewController.m
//  VRFirefighting
//
//  Created by Veer on 2018/8/13.
//  Copyright © 2018年 Veer. All rights reserved.
//

#import "VRMessageViewController.h"

#import "XNoDataView.h"

@interface VRMessageViewController ()

@property (nonatomic, strong) XNoDataView *nodataView;

@end

@implementation VRMessageViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.title = @"我的消息";
    self.view.backgroundColor = ScrollViewBgColor;
    
    self.nodataView.hidden = NO;
}


#pragma mark - lazy
- (XNoDataView *)nodataView
{
    if (_nodataView == nil) {
        
        _nodataView = [[XNoDataView alloc] init];
        _nodataView.hidden = YES;
        _nodataView.showText = @"暂无消息~";
        _nodataView.frame = CGRectMake(0, kScreenHeight * 0.5 - 200, kScreenWidth, 200);
        [self.view addSubview:_nodataView];
    }
    return _nodataView;
}

@end
